package com.situ.stl.service;

import com.github.pagehelper.PageInfo;
import com.situ.stl.entity.Reserve;
import com.situ.stl.vo.ReserveVo;

import java.util.List;

public interface ReserveService {
    List<Reserve> select(Reserve reserve);

    PageInfo searchByPage(Integer page, Integer limit, Reserve reserve);

    int modifyReserve(Reserve reserve) throws Exception;



    int addReserve(Reserve reserve) throws Exception;


    int modifyReserve1(Reserve reserve);

    int modifyReserve2(Reserve reserve);

    int batchReserve(List<Reserve> reserves) throws Exception;




    int modifyReserve4(Reserve reserve)throws Exception;





    List<ReserveVo> getReservationsByMemberId1(Integer memberId);

    int modifyReserve5(Reserve reserve) throws Exception;

    Reserve searchByCourseIdAndMemberId(Integer id, Integer memberId);
}
